/**
 * Copyright (c) 2024 - CARThunder
 * All Rights Reserved by Chengdu CARThunder Intelligent Technology Co., LTD and its affiliates.
 * You may not use, copy, distribute, modify, transmit in any form this file
 * except in compliance with CARThunder in writing by applicable law.
 * <p>
 * <p>
 * file description.
 *
 * @file filename
 * @brief brief function description.
 * @details detailed function description.
 * @version 1.0
 * @author author_name
 * @date last_modified_date
 * <p>
 * Edit History
 * ----------------------------------------------------------------------------
 * DATE                     NAME               DESCRIPTION
 * 2024-08-2               jia fengyi         Create it.
 */

/**
 * file description.
 * @file filename
 * @brief brief function description.
 * @details detailed function description.
 * @version 1.0
 * @author author_name
 * @date last_modified_date
 *
 *      Edit History
 *      ----------------------------------------------------------------------------
 *      DATE                     NAME               DESCRIPTION
 *      2024-08-2               jia fengyi         Create it.
 *
 */

package com.cart.musicdemo.model;


import android.os.Parcel;
import android.os.Parcelable;

import java.util.List;
import java.util.Map;

public class AlbumListModel implements Parcelable {

    private Map<String, List<SongModel>> list;

    public AlbumListModel(Map<String, List<SongModel>> list) {
        this.list = list;
    }

    public Map<String, List<SongModel>> getList() {
        return list;
    }

    public void setList(Map<String, List<SongModel>> list) {
        this.list = list;
    }

    public AlbumListModel(Parcel in) {
    }

    public static final Creator<AlbumListModel> CREATOR = new Creator<AlbumListModel>() {
        @Override
        public AlbumListModel createFromParcel(Parcel in) {
            return new AlbumListModel(in);
        }

        @Override
        public AlbumListModel[] newArray(int size) {
            return new AlbumListModel[size];
        }
    };

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel parcel, int i) {
    }
}
